package com.zhang.network.model.recommend;

import com.zhang.network.constant.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class RecommendDTO extends PageRequest {
    @ApiModelProperty(value = "推荐人")
    private Integer userId;

    @ApiModelProperty(value = "被推荐人")
    private String recommendId;

    @ApiModelProperty(value = "指向人")
    private Integer friendId;

    @ApiModelProperty(value = "推荐人昵称")
    private String reference;

    @Override
    public String toString() {
        return "RecommendDTO{" +
                "userId='" + userId + '\'' +
                ", recommendId='" + recommendId + '\'' +
                ", friendId='" + friendId + '\'' +
                '}';
    }
}
